-- GENERATED SPELL FOR [Ice Revenant] --


function spell0_26283(pUnit, Event) --@Icy Torrent,n/a--
pUnit:FullCastSpellOnTarget(51584,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26283', 10000, 1)
end

function Sorts_26283(pUnit, Event)
local choix_sorts_26283 = math.random(0, 0)
if choix_sorts_26283 == 0 then
pUnit:RegisterEvent('spell0_26283', 1, 1)
end
end

function mob26283_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26283', math.random(1500, 3000), 1)
end

function mob26283_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26283_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26283_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26283, 1, 'mob26283_Action')
RegisterUnitEvent(26283, 2, 'mob26283_Leave')
RegisterUnitEvent(26283, 3, 'mob26283_Kill')
RegisterUnitEvent(26283, 4, 'mob26283_Die')
